<?php
echo "<br>";
echo $link_back;
echo "<br><br>";
?>
<?php echo form_open('Asignaturas/editar/'.$filas['Id']); ?>

<div id="form_container">
<h5>Informacion Requerida (<span class="required">*</span>)</h5>
<ul>


	<li id="li_1"><label class="description" for="IdDocente">DOCENTE </label>
	<div><select name="IdDocente" class="element medium">
		<option value="" selected="selected">-- Seleccione --</option>
		<?php
		foreach ($personas as $fila){
			echo '<option value="'.$fila['NumeroIdentificacion'].'">'.$fila['NumeroIdentificacion'].' - '.$fila['Nombres'].' '.$fila['Apellidos'].'</option>';
		}
		?>

	</select> <?php echo form_error('IdDocente'); ?></div>
	</li>

	<li id="li_2"><label class="description" for="Codigo">CODIGO <span
		class="required">*</span> </label>
	<div><input id="Codigo" name="Codigo" class="element text small"
		type="text" onKeyUp="this.value=this.value.toUpperCase();"
		maxlength="20"
		value="<?php echo set_value('Codigo', $filas['Codigo']); ?>" /> <?php echo form_error('Codigo'); ?>
	</div>
	</li>

	<li id="li_3"><label class="description" for="Ano">ANO <span
		class="required">*</span></label>
	<div><input id="Ano" name="Ano" class="element text small" type="text"
		maxlength="4" onKeyUp="this.value=this.value.toUpperCase();"
		value="<?php echo set_value('Ano', $filas['Ano']); ?>" /> <?php echo form_error('Ano'); ?>
	</div>
	</li>

	<li id="li_4"><label class="description" for="Nombre">NOMBRE <span
		class="required">*</span> </label>
	<div><input id="Nombre" name="Nombre" class="element text medium"
		type="text" onKeyUp="this.value=this.value.toUpperCase();"
		maxlength="45"
		value="<?php echo set_value('Nombre', $filas['Nombre']); ?>" /> <?php echo form_error('Nombre'); ?>
	</div>
	</li>

	<li id="li_5"><label class="description" for="Programa">PROGRAMA <span
		class="required">*</span></label>
	<div><input id="Programa" name="Programa" class="element text medium"
		type="text" maxlength="45"
		onKeyUp="this.value=this.value.toUpperCase();"
		value="<?php echo set_value('Programa', $filas['Programa']); ?>" /> <?php echo form_error('Programa'); ?>
	</div>
	</li>

	<li id="li_6"><label class="description" for="Facultad">FACULTAD <span
		class="required">*</span> </label>
	<div><input id="Facultad" name="Facultad" class="element text medium"
		type="text" onKeyUp="this.value=this.value.toUpperCase();"
		maxlength="45"
		value="<?php echo set_value('Facultad', $filas['Facultad']); ?>" /> <?php echo form_error('Facultad'); ?>
	</div>
	</li>

	<li id="li_7"><label class="description" for="IdiomaExtranjero">IDIOMA
	<span class="required">*</span></label>
	<div><input id="IdiomaExtranjero" name="IdiomaExtranjero"
		class="element text medium" type="text" maxlength="45"
		onKeyUp="this.value=this.value.toUpperCase();"
		value="<?php echo set_value('IdiomaExtranjero', $filas['IdiomaExtranjero']); ?>" />
		<?php echo form_error('IdiomaExtranjero'); ?></div>
	</li>

	<li id="li_8"><label class="description" for="Proporcion">PROPORCION<span
		class="required">*</span></label>
	<div><?php $options = array(
        					    ''  => '-- Seleccione --',
                                '10'    => '10%',
                                '20'    => '20%',
								'30'    => '30%',
                                '40'    => '40%',
								'50'    => '50%',
                                '60'    => '60%',
                                '70'    => '70%',
								'80'    => '80%',
                                '90'    => '90%',
	);

	echo form_dropdown('Proporcion', $options, set_value('Proporcion', $filas['Proporcion']), 'class="element small"');

	echo form_error('Proporcion'); ?></div>
	</li>
	<li id="li_9"><label class="description" for="PlanEstudios">PLAN
	ESTUDIO </label>
	<div><input id="PlanEstudios" name="PlanEstudios"
		class="element text small" type="text" maxlength="4"
		onKeyUp="this.value=this.value.toUpperCase();"
		value="<?php echo set_value('PlanEstudios', $filas['PlanEstudios']); ?>" />
		<?php echo form_error('PlanEstudios'); ?></div>
	<p class="guidelines" id="guide_9"><small>Plan de Estudios al cual
	pertenece la asignatura</small></p>
	</li>


	<li class="buttons"><input id="saveForm" class="button_text"
		type="submit" name="submit" value="EDITAR ASIGNATURA" /></li>
</ul>


</div>

		<?php echo form_close(); ?>


